package teaching.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data /*自动生成 set get toString方法*/
@NoArgsConstructor //自动生成无参构造函数
@TableName("course")
public class Course {
  @TableId(type = IdType.AUTO)
  private long cid;
  private long userid;
  private String courseName;
  private String className;
  private String major;
  private String introduction;
  private String courseImg;
  private long tagId;
}
